package com.spzx.user.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.spzx.common.core.annotation.Excel;
import com.spzx.common.core.web.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 用户地址对象 Region
 *
 * @author zbb
 * @date 2025-07-11
 */
@Data
@Schema(description = "地址code转换")
public class Region extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    @Schema(description = "ID")
    private Long id;

    /** code */
    @Excel(name = "code")
    @Schema(description = "code")
    private String code;

    /** parent_code */
    @Excel(name = "parent_code")
    @Schema(description = "parent_code")
    private String parentCode;

    /** 地区name */
    @Excel(name = "地区name")
    @Schema(description = "地区name")
    private String name;

    /** 级别lever */
    @Excel(name = "级别lever")
    @Schema(description = "级别lever")
    private String level;

    /** del_flag */
    @Excel(name = "del_flag")
    @Schema(description = "del_flag")
    private String delFlag;

//    //子地区
//    @TableField(exist = false)
//    private List<Region> children;

}
